package com.lupengning.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.time.LocalDateTime;
import lombok.Builder;
import lombok.Data;

/**
 * @author lupen
 */
@Data
@Builder
public class User {

  private Long id;
  private String name;
  private Integer age;
  private String email;

  @TableField(fill = FieldFill.INSERT_UPDATE)
  private LocalDateTime createTime;
}
